/* 基础样式重置与全局设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 全局body样式设置 */
body {
    background-color: #000000;
    color: #666666; /* 将文本颜色从白色改为灰色 */
    font-family: Arial, sans-serif;
}

/* 设置导航栏文本颜色 */
.navbar {
    color: #666666;
}

.nav-links a {
    color: #666666;
}

/* 设置页脚文本颜色 */
.footer {
    color: #666666;
}

.footer-nav a {
    color: #666666;
}

/* 简介区域样式 */
.intro {
    padding: 100px 50px;
    text-align: center;
}

.intro p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

.view-works-btn {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid #ffffff;
    color: #ffffff;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.view-works-btn:hover {
    background-color: #ffffff;
    color: #000000;
}

/* 最新作品区域样式 */
.latest-works {
    padding: 100px 50px;
    background-color: #000000;
    color: #ffffff;
    text-align: center;
}

.latest-works-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: normal;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 1px;
    background-color: #ffffff;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}
/* 左右间距 */
.works-container {
    display: flex;
    gap: 120px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.works-column {
    flex: 1;
    position: relative;
}

.fullscreen-item {
    width: 100%;
    max-width: 500px; /* 缩小图片比例 */
    margin: 0 auto; /* 居中显示 */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.fixed-titles {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    transform-origin: center;
    z-index: 100;
    pointer-events: none;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10%;
}


.main-title {
    font-size: 120px;
    font-weight: normal;
    letter-spacing: 2px;
    opacity: 0.8;
    transition: opacity 0.5s ease, transform 0.5s ease;
    margin: 0;
}

.art-title {
    text-align: left;
    transform: translateY(-50%);
}

.design-title {
    text-align: right;
    transform: translateY(-50%);
}

.title-hidden {
    opacity: 0;
    transform: translateY(50px);
}

.latest-work-item {
    position: relative;
    overflow: hidden;
}

.work-image {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.work-placeholder {
    width: 100%;
    background-color: #333333; /* 灰色色块 */
    display: block;
    aspect-ratio: 3/4; /* 固定宽高比为3:4 */
}

.work-image {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.work-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.latest-work-item:hover .work-overlay {
    opacity: 1;
}

.latest-work-item:hover .work-image img {
    transform: scale(1.1);
}

.work-overlay h3 {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: normal;
}

.work-overlay p {
    font-size: 16px;
    max-width: 80%;
}

.view-all-works {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 30px;
    border: 1px solid #ffffff;
    color: #ffffff;
    font-size: 14px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.view-all-works:hover {
    background-color: #ffffff;
    color: #000000;
}

/* 最新日志区域样式 */
.latest-journal {
    padding: 100px 50px;
    background-color: #000000;
    color: #ffffff;
}

.journal-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 50px;
}

.journal-item {
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.journal-item:hover {
    border-color: #ffffff;
}

.journal-date {
    font-size: 14px;
    color: #cccccc;
    margin-bottom: 15px;
}

.journal-item h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.journal-item p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.read-more {
    display: inline-block;
    color: #ffffff;
    font-size: 14px;
    position: relative;
    padding-bottom: 5px;
}

.read-more::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 1px;
    background-color: #ffffff;
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.read-more:hover::after {
    width: 100%;
}

.view-all-journal {
    display: block;
    text-align: center;
    padding: 12px 30px;
    border: 1px solid #ffffff;
    color: #ffffff;
    font-size: 14px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    max-width: 150px;
    margin: 0 auto;
}

.view-all-journal:hover {
    background-color: #ffffff;
    color: #000000;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .latest-works-grid {
        grid-template-columns: 1fr;
    }
    
    .journal-container {
        grid-template-columns: 1fr;
    }
}


body {
    font-family: 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #000000;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
}

/* 布局辅助类 */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    opacity: 0.7;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 1px;
    background-color: #fff;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* 英雄区域样式 */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 64px;
    font-weight: normal;
    letter-spacing: -2px;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 5px;
    opacity: 0.8;
}

.hero-content .subtitle {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 20px;
}

.scroll-indicator {
    position: absolute;
    bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

/* 线稿方块样式 */
.rotating-square {
    width: 24px;
    height: 24px;
    border: 1px solid white;
    position: relative;
    margin-bottom: 20px;
    animation: rotate 8s linear infinite;
}

/* 向下箭头样式 */
.bouncing-arrow {
    color: white;
    font-size: 14px;
    animation: bounce 2s infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-2px);
    }
}



/* 作品展示区域样式 */

/* 作品列标题样式 */
.works-column {
    position: relative;
}

.column-title-container {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px 15px;
}

.column-title {
    font-weight: normal !important;
    margin: 0;
    font-size: 24px;
    letter-spacing: 1px;
}

/* 移除可能的下划线 */
.column-title::after {
    display: none !important;
}
.works {
    padding: 150px 50px 100px;
    background-color: #000000;
}

.works-container {
    display: flex;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.works-column {
    flex: 1;
    position: relative;
}

.column-title {
    font-size: 24px;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ffffff;
}

.works-scroll {
    height: calc(100vh - 300px);
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding-right: 15px;
}

.works-scroll::-webkit-scrollbar {
    display: none;
}
/* 作品项上下间距 */
.work-item {
    margin-bottom: 15vh;
    position: relative;
    overflow: hidden;
}

.work-image {
    position: relative;
    overflow: hidden;
}

.work-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.work-item:hover .work-overlay {
    opacity: 1;
}

.work-item:hover .work-image img {
    transform: scale(1.1);
}

.work-overlay h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.work-overlay p {
    font-size: 16px;
    max-width: 80%;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .works-container {
        flex-direction: column;
    }
    
    .works-scroll {
        height: 500px;
    }
}

.work-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.work-image {
    position: relative;
    overflow: hidden;
}

.work-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
    text-align: center;
}

.work-item:hover .work-overlay {
    opacity: 1;
}

.work-item:hover img {
    transform: scale(1.05);
}

.work-overlay h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.work-overlay p {
    font-size: 14px;
    opacity: 0.8;
}

/* 关于区域样式 */
.about {
    padding: 150px 50px;
    background-color: #111111;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-content h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.language-container {
    display: flex;
    gap: 40px;
    margin-top: 20px;
}

.chinese-content {
    flex: 1;
    order: 1;
}

.english-content {
    flex: 1;
    order: 2;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.stat-text {
    font-size: 14px;
    opacity: 0.7;
}

/* 日志区域样式 */
.journal {
    padding: 150px 50px;
}

.journal-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.journal-item {
    padding: 30px;
    border: 1px solid #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.journal-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.journal-date {
    font-size: 12px;
    color: #aaa;
    margin-bottom: 15px;
    display: block;
}

.journal-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.journal-item p {
    margin-bottom: 20px;
    opacity: 0.8;
    line-height: 1.7;
}

.read-more {
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.read-more::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 1px;
    background-color: #fff;
    transition: width 0.3s ease;
}

.read-more:hover::after {
    width: 100%;
}

/* 联系区域样式 */
.contact {
    padding: 150px 50px;
    background-color: #111111;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3,
.contact-form h3 {
    font-size: 24px;
    margin-bottom: 30px;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 15px;
    opacity: 0.7;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.social-links a {
    font-size: 20px;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.7;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 10px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #444;
    font-family: inherit;
    font-size: 14px;
    background-color: #222;
    color: #fff;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #fff;
}

.submit-btn {
    padding: 12px 30px;
    background-color: #fff;
    color: #000;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #eee;
}

/* 页脚样式 */
.footer {
    padding: 80px 50px 10px;
    background-color: #000;
    color: #fff;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.footer p {
    opacity: 0.6;
    margin-bottom: 30px;
    font-size: 14px;
}

.footer-nav {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-nav a {
    font-size: 14px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-nav a:hover {
    opacity: 1;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .works-grid,
    .journal-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .navbar {
        padding: 20px 30px;
    }

    .hero-content h1 {
        font-size: 48px;
    }

    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: 1;
    }

    .about-content {
        order: 2;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #000;
    transition: left 0.3s ease;
    gap: 30px;
}

    .nav-links.active {
        left: 0;
    }

    .works,
    .about,
    .journal,
    .contact {
        padding: 100px 30px;
    }

    .works-grid,
    .journal-container {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .section-title h2 {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 15px 20px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .works,
    .about,
    .journal,
    .contact {
        padding: 80px 20px;
    }

    .filter-buttons {
        flex-wrap: wrap;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }
}